<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>

<body>
<table border="1" cellpadding="2" cellspacing="1" style="border-collapse: collapse" bordercolor="#111111">
   <tr align="center">
		<th>序号</th>
		<th>流水号</th>
		<th>业务员</th>
		<th>开票日期</th>
		<th>开票公司</th>
		<th>客户</th>
		<th>事由</th>
		<th>币种</th>		
		<th>金额</th>
		<th>录入员</th>
		<th>状态</th>
		<th>{[$orderby]}</th>
   </tr>
   {[foreach name=outer key=key item=item from=$result]}
   {[assign var="no" value="`$key+1`"]}
   <tr align="center">
		<td>{[$no]}</td>
		<td>{[$item.id]}</td>
		<td>{[$item.emp_t]}</td>
		<td>{[$item.date]}</td>
		<td>{[$item.tec_t]}</td>
		<td>{[$item.customer_t]}</td>
		<td>{[$item.name|truncate:21:"...":true]}</td>
		<td>{[$item.currency_t]}</td>
		<td>{[$item.amount|money]}</td>
		<td>{[$item.oper_t]}</td>
		<td>{[$item.status_t]}</td>
		<td>{[$item.orderby_x]}</td>
	</tr>
	{[/foreach]}
</table>

</body>
</html>
